/**
 * 
 */
package com.zc.springproject.javabean;

import org.springframework.stereotype.Component;

/**
 * @author ZhangCheng
 * @time 2019年10月31日
 */
@Component
public class User {
	private String name;
	private int age;
	private String pwd;
	private String phoneNum;
	private String email;
	
	public User() {
		super();
	}
	
	public User(String name, int age, String pwd, String phoneNum, String email) {
		super();
		this.name = name;
		this.age = age;
		this.pwd = pwd;
		this.phoneNum = phoneNum;
		this.email = email;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getPhoneNum() {
		return phoneNum;
	}
	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getInfo() {
		return "User [name=" + name + ", age=" + age + ", pwd=" + pwd + ", phoneNum=" + phoneNum + ", email=" + email
				+ "]";
	}

	
}
